package com.phrp.service;

import com.phrp.entity.House;
import com.baomidou.mybatisplus.extension.service.IService;
import com.phrp.entity.vo.HouseSearchDataVo;
import com.phrp.entity.vo.PageData;
import com.phrp.util.returnResult.ResponseResult;

import java.util.LinkedList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ssc
 * @since 2024-04-06
 */
public interface HouseService extends IService<House> {

    ResponseResult getHouseSource(PageData pageData);

    ResponseResult deleteHouse(LinkedList<String> ids);

    ResponseResult editHouse(House house);

    ResponseResult updatePublish(String id, String type);

    ResponseResult updateStatus(String id, String type);

    ResponseResult AddHouse(House house);

    ResponseResult searchHouse(HouseSearchDataVo searchData);

    ResponseResult inspectionSearch(HouseSearchDataVo houseSearch);

}
